Skip to content

Land stage 2a on main (#86 was merged into the release branch) - #87

Merged
michielinksee merged 3 commits into
mainfrom
release/1.3.0-public-manifest
Oct 23, 2026
Merged

michielinksee merged 3 commits into
mainfrom
release/1.3.0-public-manifest

Conversation

@michielinksee

Copy link
Copy Markdown
Member

#86 (stage 2a) was merged into release/1.3.0-public-manifest instead of main: GitHub did not retarget its base after #85 was squash-merged. This PR carries that same change to main. There is no new code here.

🤖 Generated with Claude Code

michielinksee and others added 3 commits October 23, 2026 19:53
…h package.json

public/.well-known/mcp/server.json and the kansei-link-mcp card in ard-entries.json still said 1.2.5, so site-gate (and the Pages deploy on main) was red since #84. Changelog heading dated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…+ a usage log for /mcp (#86)

* feat(stage 2a): the hosted server is the front door (connect by URL) + a usage log for /mcp

Usage log (src/mcp-usage-log.ts): one mcp_usage_log row per initialize / tools/call on the hosted
/mcp — minute, tool name, validated service id (unknown ids counted only), the mode the tool itself
derives, an enumerated outcome, clientInfo from initialize, UA class, server version, salted hash of
Mcp-Session-Id when present. Arguments, IPs, raw UAs and responses are never stored. 180-day
retention, USAGE_LOG_ENABLED=0 switches it off, a write failure never fails the call. Summary added
to GET /admin/activity as mcp_usage (no new route; routes_sha256 unchanged). Tests:
scripts/test-mcp-usage.mjs (7). SEC record: founder-ops/SEC-REVIEW-2026-10-24-001_UsageLog.md.

Front door: README / CLAUDE.md / AGENTS.md / docs / llms.txt / site index put
https://mcp.kansei-link.com/mcp first (claude mcp add --transport http …, {"url": …}), npx stays as
the offline copy. server.json remotes (3 copies) and the self card point at the new host. The ask line
on service pages and deep dives carries one "over MCP" sentence (scripts/lib/ask-line.mjs). SECURITY.md
"What the server can see" now describes the two footprints as they are.

detectMode in lookup / report is exported (no behaviour change) so the log classifies modes the same way.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* chore: store the touched files with LF as the repository does (the stage 2a commit wrote CRLF)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Conflicts kept both sides: activity.ts imports askUnknownServiceIds (#76)
and the usage log (#86); CHANGELOG keeps the 2a section under v1.3.0.
tsc, test-activity/ask/mcp-usage/public-seed, route-gate and site-gate pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michielinksee
michielinksee merged commit bc9287b into main Oct 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant